home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / GeneralHamTest Folder / GeneralHamTest.sea / General Ham Test 5.0 SA / background_4601.xml < prev    next >
Extensible Markup Language  |  1995-07-29  |  18KB  |  518 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>4601</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4684.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_7159.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>16</left>
  23.             <top>68</top>
  24.             <right>500</right>
  25.             <bottom>136</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>13</textHeight>
  40.         <name>Q1</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>11</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>48</left>
  55.             <top>137</top>
  56.             <right>499</right>
  57.             <bottom>177</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>13</textHeight>
  72.         <name>D</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>25</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>204</left>
  87.             <top>313</top>
  88.             <right>241</right>
  89.             <bottom>342</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <false /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>902</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Prev</name>
  104.         <script>on mouseUpglobal immediate, group, questans, refhide, ranseqif item group of questans is not empty thenif immediate then reViewend ifif refhide is false thenput true into refhidehide field ReferenceFieldend ifvisual effect wipe right fast to blackvisual effect wipe leftif ranseq is true thenrandomPrevelsego to previous cardend ifend mouseUp</script>
  105.     </part>
  106.     <part>
  107.         <id>26</id>
  108.         <type>button</type>
  109.         <visible> <true /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>297</left>
  118.             <top>313</top>
  119.             <right>333</right>
  120.             <bottom>342</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <showName> <false /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <false /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>26425</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>Next</name>
  135.         <script>on mouseUpglobal immediate, group, questans, refhide, ranseqif item group of questans is not empty thenif immediate then reViewend ifif refhide is false thenput true into refhidehide field ReferenceFieldend ifvisual effect wipe left fast to blackvisual effect wipe right fastif ranseq is true thenrandomNextelsego to next cardend ifend mouseUp</script>
  136.     </part>
  137.     <part>
  138.         <id>27</id>
  139.         <type>field</type>
  140.         <visible> <true /> </visible>
  141.         <dontWrap> <false /> </dontWrap>
  142.         <dontSearch> <false /> </dontSearch>
  143.         <sharedText> <false /> </sharedText>
  144.         <fixedLineHeight> <true /> </fixedLineHeight>
  145.         <autoTab> <false /> </autoTab>
  146.         <lockText> <true /> </lockText>
  147.         <rect>
  148.             <left>48</left>
  149.             <top>178</top>
  150.             <right>508</right>
  151.             <bottom>219</bottom>
  152.         </rect>
  153.         <style>transparent</style>
  154.         <autoSelect> <false /> </autoSelect>
  155.         <showLines> <false /> </showLines>
  156.         <wideMargins> <false /> </wideMargins>
  157.         <multipleLines> <false /> </multipleLines>
  158.         <reservedFamily> 0 </reservedFamily>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>0</icon>
  161.         <textAlign>left</textAlign>
  162.         <font>Geneva</font>
  163.         <textSize>10</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <textHeight>13</textHeight>
  166.         <name>D</name>
  167.         <script></script>
  168.     </part>
  169.     <part>
  170.         <id>28</id>
  171.         <type>field</type>
  172.         <visible> <true /> </visible>
  173.         <dontWrap> <false /> </dontWrap>
  174.         <dontSearch> <false /> </dontSearch>
  175.         <sharedText> <false /> </sharedText>
  176.         <fixedLineHeight> <true /> </fixedLineHeight>
  177.         <autoTab> <false /> </autoTab>
  178.         <lockText> <true /> </lockText>
  179.         <rect>
  180.             <left>48</left>
  181.             <top>221</top>
  182.             <right>508</right>
  183.             <bottom>262</bottom>
  184.         </rect>
  185.         <style>transparent</style>
  186.         <autoSelect> <false /> </autoSelect>
  187.         <showLines> <false /> </showLines>
  188.         <wideMargins> <false /> </wideMargins>
  189.         <multipleLines> <false /> </multipleLines>
  190.         <reservedFamily> 0 </reservedFamily>
  191.         <titleWidth>0</titleWidth>
  192.         <icon>0</icon>
  193.         <textAlign>left</textAlign>
  194.         <font>Geneva</font>
  195.         <textSize>10</textSize>
  196.         <textStyle>plain</textStyle>
  197.         <textHeight>13</textHeight>
  198.         <name>D</name>
  199.         <script></script>
  200.     </part>
  201.     <part>
  202.         <id>29</id>
  203.         <type>field</type>
  204.         <visible> <true /> </visible>
  205.         <dontWrap> <false /> </dontWrap>
  206.         <dontSearch> <false /> </dontSearch>
  207.         <sharedText> <false /> </sharedText>
  208.         <fixedLineHeight> <true /> </fixedLineHeight>
  209.         <autoTab> <false /> </autoTab>
  210.         <lockText> <true /> </lockText>
  211.         <rect>
  212.             <left>48</left>
  213.             <top>264</top>
  214.             <right>503</right>
  215.             <bottom>306</bottom>
  216.         </rect>
  217.         <style>transparent</style>
  218.         <autoSelect> <false /> </autoSelect>
  219.         <showLines> <false /> </showLines>
  220.         <wideMargins> <false /> </wideMargins>
  221.         <multipleLines> <false /> </multipleLines>
  222.         <reservedFamily> 0 </reservedFamily>
  223.         <titleWidth>0</titleWidth>
  224.         <icon>0</icon>
  225.         <textAlign>left</textAlign>
  226.         <font>Geneva</font>
  227.         <textSize>10</textSize>
  228.         <textStyle>plain</textStyle>
  229.         <textHeight>13</textHeight>
  230.         <name>D</name>
  231.         <script></script>
  232.     </part>
  233.     <part>
  234.         <id>20</id>
  235.         <type>field</type>
  236.         <visible> <true /> </visible>
  237.         <dontWrap> <false /> </dontWrap>
  238.         <dontSearch> <false /> </dontSearch>
  239.         <sharedText> <false /> </sharedText>
  240.         <fixedLineHeight> <true /> </fixedLineHeight>
  241.         <autoTab> <false /> </autoTab>
  242.         <lockText> <true /> </lockText>
  243.         <rect>
  244.             <left>15</left>
  245.             <top>31</top>
  246.             <right>166</right>
  247.             <bottom>53</bottom>
  248.         </rect>
  249.         <style>shadow</style>
  250.         <autoSelect> <false /> </autoSelect>
  251.         <showLines> <false /> </showLines>
  252.         <wideMargins> <false /> </wideMargins>
  253.         <multipleLines> <false /> </multipleLines>
  254.         <reservedFamily> 0 </reservedFamily>
  255.         <titleWidth>0</titleWidth>
  256.         <icon>0</icon>
  257.         <textAlign>left</textAlign>
  258.         <font>Chicago</font>
  259.         <textSize>12</textSize>
  260.         <textStyle>plain</textStyle>
  261.         <textHeight>16</textHeight>
  262.         <name>Q#</name>
  263.         <script></script>
  264.     </part>
  265.     <part>
  266.         <id>38</id>
  267.         <type>button</type>
  268.         <visible> <false /> </visible>
  269.         <reserved5> 0 </reserved5>
  270.         <reserved4> 0 </reserved4>
  271.         <reserved3> 0 </reserved3>
  272.         <reserved2> 0 </reserved2>
  273.         <reserved1> 0 </reserved1>
  274.         <enabled> <true /> </enabled>
  275.         <rect>
  276.             <left>173</left>
  277.             <top>116</top>
  278.             <right>245</right>
  279.             <bottom>138</bottom>
  280.         </rect>
  281.         <style>rectangle</style>
  282.         <showName> <true /> </showName>
  283.         <highlight> <false /> </highlight>
  284.         <autoHighlight> <false /> </autoHighlight>
  285.         <sharedHighlight> <true /> </sharedHighlight>
  286.         <family>0</family>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>center</textAlign>
  290.         <font>Chicago</font>
  291.         <textSize>12</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <name>Correct!</name>
  294.         <script></script>
  295.     </part>
  296.     <part>
  297.         <id>39</id>
  298.         <type>button</type>
  299.         <visible> <true /> </visible>
  300.         <reserved5> 0 </reserved5>
  301.         <reserved4> 0 </reserved4>
  302.         <reserved3> 0 </reserved3>
  303.         <reserved2> 0 </reserved2>
  304.         <reserved1> 0 </reserved1>
  305.         <enabled> <true /> </enabled>
  306.         <rect>
  307.             <left>14</left>
  308.             <top>138</top>
  309.             <right>44</right>
  310.             <bottom>174</bottom>
  311.         </rect>
  312.         <style>checkbox</style>
  313.         <showName> <true /> </showName>
  314.         <highlight> <false /> </highlight>
  315.         <autoHighlight> <false /> </autoHighlight>
  316.         <sharedHighlight> <true /> </sharedHighlight>
  317.         <family>0</family>
  318.         <titleWidth>0</titleWidth>
  319.         <icon>0</icon>
  320.         <textAlign>center</textAlign>
  321.         <font>Chicago</font>
  322.         <textSize>12</textSize>
  323.         <textStyle>plain</textStyle>
  324.         <name>A</name>
  325.         <script>on mouseUpglobal questans, group, ranseq, cardnoset hilight of background button A to trueset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseif ranseq is true thenput "A" into item group of questanselseput "A" into item cardno of questansend ifend mouseUp</script>
  326.     </part>
  327.     <part>
  328.         <id>40</id>
  329.         <type>button</type>
  330.         <visible> <true /> </visible>
  331.         <reserved5> 0 </reserved5>
  332.         <reserved4> 0 </reserved4>
  333.         <reserved3> 0 </reserved3>
  334.         <reserved2> 0 </reserved2>
  335.         <reserved1> 0 </reserved1>
  336.         <enabled> <true /> </enabled>
  337.         <rect>
  338.             <left>14</left>
  339.             <top>178</top>
  340.             <right>44</right>
  341.             <bottom>214</bottom>
  342.         </rect>
  343.         <style>checkbox</style>
  344.         <showName> <true /> </showName>
  345.         <highlight> <false /> </highlight>
  346.         <autoHighlight> <false /> </autoHighlight>
  347.         <sharedHighlight> <true /> </sharedHighlight>
  348.         <family>0</family>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>0</icon>
  351.         <textAlign>center</textAlign>
  352.         <font>Chicago</font>
  353.         <textSize>12</textSize>
  354.         <textStyle>plain</textStyle>
  355.         <name>B</name>
  356.         <script>on mouseUpglobal questans, group, ranseq, cardnoset hilight of background button A to falseset hilight of background button B to trueset hilight of background button C to falseset hilight of background button D to falseif ranseq is true thenput "B" into item group of questanselseput "B" into item cardno of questansend ifend mouseUp</script>
  357.     </part>
  358.     <part>
  359.         <id>41</id>
  360.         <type>button</type>
  361.         <visible> <true /> </visible>
  362.         <reserved5> 0 </reserved5>
  363.         <reserved4> 0 </reserved4>
  364.         <reserved3> 0 </reserved3>
  365.         <reserved2> 0 </reserved2>
  366.         <reserved1> 0 </reserved1>
  367.         <enabled> <true /> </enabled>
  368.         <rect>
  369.             <left>14</left>
  370.             <top>219</top>
  371.             <right>44</right>
  372.             <bottom>255</bottom>
  373.         </rect>
  374.         <style>checkbox</style>
  375.         <showName> <true /> </showName>
  376.         <highlight> <false /> </highlight>
  377.         <autoHighlight> <false /> </autoHighlight>
  378.         <sharedHighlight> <true /> </sharedHighlight>
  379.         <family>0</family>
  380.         <titleWidth>0</titleWidth>
  381.         <icon>0</icon>
  382.         <textAlign>center</textAlign>
  383.         <font>Chicago</font>
  384.         <textSize>12</textSize>
  385.         <textStyle>plain</textStyle>
  386.         <name>C</name>
  387.         <script>on mouseUpglobal questans, group, ranseq, cardnoset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to trueset hilight of background button D to falseif ranseq is true thenput "C" into item group of questanselseput "C" into item cardno of questansend ifend mouseUp</script>
  388.     </part>
  389.     <part>
  390.         <id>42</id>
  391.         <type>button</type>
  392.         <visible> <true /> </visible>
  393.         <reserved5> 0 </reserved5>
  394.         <reserved4> 0 </reserved4>
  395.         <reserved3> 0 </reserved3>
  396.         <reserved2> 0 </reserved2>
  397.         <reserved1> 0 </reserved1>
  398.         <enabled> <true /> </enabled>
  399.         <rect>
  400.             <left>14</left>
  401.             <top>264</top>
  402.             <right>44</right>
  403.             <bottom>300</bottom>
  404.         </rect>
  405.         <style>checkbox</style>
  406.         <showName> <true /> </showName>
  407.         <highlight> <false /> </highlight>
  408.         <autoHighlight> <false /> </autoHighlight>
  409.         <sharedHighlight> <true /> </sharedHighlight>
  410.         <family>0</family>
  411.         <titleWidth>0</titleWidth>
  412.         <icon>0</icon>
  413.         <textAlign>center</textAlign>
  414.         <font>Chicago</font>
  415.         <textSize>12</textSize>
  416.         <textStyle>plain</textStyle>
  417.         <name>D</name>
  418.         <script>on mouseUpglobal questans, group, ranseq, cardnoset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to trueif ranseq is true thenput "D" into item group of questanselseput "D" into item cardno of questansend ifend mouseUp</script>
  419.     </part>
  420.     <part>
  421.         <id>43</id>
  422.         <type>field</type>
  423.         <visible> <false /> </visible>
  424.         <dontWrap> <false /> </dontWrap>
  425.         <dontSearch> <false /> </dontSearch>
  426.         <sharedText> <false /> </sharedText>
  427.         <fixedLineHeight> <false /> </fixedLineHeight>
  428.         <autoTab> <false /> </autoTab>
  429.         <lockText> <false /> </lockText>
  430.         <rect>
  431.             <left>356</left>
  432.             <top>116</top>
  433.             <right>500</right>
  434.             <bottom>136</bottom>
  435.         </rect>
  436.         <style>shadow</style>
  437.         <autoSelect> <false /> </autoSelect>
  438.         <showLines> <false /> </showLines>
  439.         <wideMargins> <false /> </wideMargins>
  440.         <multipleLines> <false /> </multipleLines>
  441.         <reservedFamily> 0 </reservedFamily>
  442.         <titleWidth>0</titleWidth>
  443.         <icon>0</icon>
  444.         <textAlign>left</textAlign>
  445.         <font>Chicago</font>
  446.         <textSize>12</textSize>
  447.         <textStyle>plain</textStyle>
  448.         <textHeight>16</textHeight>
  449.         <name>review</name>
  450.         <script></script>
  451.     </part>
  452.     <part>
  453.         <id>44</id>
  454.         <type>field</type>
  455.         <visible> <false /> </visible>
  456.         <dontWrap> <false /> </dontWrap>
  457.         <dontSearch> <false /> </dontSearch>
  458.         <sharedText> <false /> </sharedText>
  459.         <fixedLineHeight> <true /> </fixedLineHeight>
  460.         <autoTab> <false /> </autoTab>
  461.         <lockText> <false /> </lockText>
  462.         <rect>
  463.             <left>188</left>
  464.             <top>32</top>
  465.             <right>453</right>
  466.             <bottom>53</bottom>
  467.         </rect>
  468.         <style>shadow</style>
  469.         <autoSelect> <false /> </autoSelect>
  470.         <showLines> <false /> </showLines>
  471.         <wideMargins> <false /> </wideMargins>
  472.         <multipleLines> <false /> </multipleLines>
  473.         <reservedFamily> 0 </reservedFamily>
  474.         <titleWidth>0</titleWidth>
  475.         <icon>0</icon>
  476.         <textAlign>left</textAlign>
  477.         <font>Chicago</font>
  478.         <textSize>12</textSize>
  479.         <textStyle>plain</textStyle>
  480.         <textHeight>16</textHeight>
  481.         <name>ReferenceField</name>
  482.         <script></script>
  483.     </part>
  484.     <part>
  485.         <id>46</id>
  486.         <type>button</type>
  487.         <visible> <true /> </visible>
  488.         <reserved5> 0 </reserved5>
  489.         <reserved4> 0 </reserved4>
  490.         <reserved3> 0 </reserved3>
  491.         <reserved2> 0 </reserved2>
  492.         <reserved1> 0 </reserved1>
  493.         <enabled> <true /> </enabled>
  494.         <rect>
  495.             <left>418</left>
  496.             <top>310</top>
  497.             <right>464</right>
  498.             <bottom>342</bottom>
  499.         </rect>
  500.         <style>default</style>
  501.         <showName> <true /> </showName>
  502.         <highlight> <false /> </highlight>
  503.         <autoHighlight> <false /> </autoHighlight>
  504.         <sharedHighlight> <true /> </sharedHighlight>
  505.         <family>0</family>
  506.         <titleWidth>0</titleWidth>
  507.         <icon>0</icon>
  508.         <textAlign>center</textAlign>
  509.         <font>Times</font>
  510.         <textSize>12</textSize>
  511.         <textStyle>plain</textStyle>
  512.         <name>QUIT</name>
  513.         <script>on mouseUpdoMenu "Quit HyperCard"end mouseUp</script>
  514.     </part>
  515.     <name>Test</name>
  516.     <script>On openCardglobal questans, questkey, rightone, group, ranseq, thiscount, cardnohide background button "Correct!"hide field reviewhide field referencefieldset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseget the number of card -- card # option but used differently hereif ranseq is true thenput "Question #" & group into field "Q#" -- question # optionelseput "Question #"&it-2 into field "Q#" -- card # optionend ifput it - 2 into cardnoif ranseq is true thenput rightone into item group of questkeyelseput rightone into item cardno of questkeyend if-- put item group of questans into foo-- if foo is not empty then set hilight of background button foo to trueend openCardon closeCardset lockScreen to trueset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseset lockScreen to falsehide background button "Correct!"end closeCardon idleglobal time1-- comment out next line (exit idle) if you want a time limit on test.-- don't forget to set time limit as described in Exam button of-- first card.exit idleput the seconds into time2if time2<time1 then exit idleif time2‚â•time1 thenanswer "Too much Time. Try again?" with "OK" or "Quit"end ifif it is "OK" thenvisual effect dissolve to blackvisual effect iris opengo first cardopenStackelsevisual effect dissolvego homeend ifend idleon randomNextglobal group,questlistadd one to groupif group > 25 then go card reportget item group of questlistgo card itend randomNexton randomPrevglobal group,questlistsubtract one from groupif group < 1 then go first cardget item group of questlistgo card itend randomPrevon reViewglobal rightone, immediateput "Correct answer is " & rightone into field reviewif not immediate thenwait 3 secondsshow field reviewshow field referencefieldwait until the mouseClickelseif hilite of background button rightone is false thenshow field reviewwait until the mouseClickelse-- show background button "Correct!"end ifend ifend reView</script>
  517. </background>
  518.